package com.faw.fengyue.rfid.constants;

public class HttpConstants {

    private final String appKey = "FAW_FY_yizhuang_check";

//    private final String baseHttpUrl = "http://192.168.100.106:9901";
    private final String baseHttpUrl = "http://192.168.100.111:9901";

//    private final String updateUrl = "http://172.16.34.85:9901/update/checkVersion";
//    private final String updateUrl = "http://192.168.1.124:9901/update/checkVersion";
//    private final String updateUrl = "http://192.168.100.111:9901/update/checkVersion";
    private final String updateUrl = baseHttpUrl+"/update/checkVersion";
    private final String downloadUrl = baseHttpUrl+"/update/apk";
//    private final String baseWeb = "http://39.107.83.177:9527";
    private final String baseWeb = "http://192.168.100.111:8080";


    public static HttpConstants httpConstants = null;

    public static HttpConstants getInstance() {
        if (httpConstants == null) {
            httpConstants = new HttpConstants();
        }
        return httpConstants;
    }

    public String getAppKey() {
        return appKey;
    }

    public String getBaseWeb() {
        return baseWeb;
    }

    public String getUpdateUrl() {
        return updateUrl;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public String getBaseHttpUrl() {
        return baseHttpUrl;
    }
}
